package com.qpx.zhoukaofile.service;


import com.zhoukao.dto.MessageDto;
import com.zhoukao.vo.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "ZHOUKAO-PRODUCER-MESSAGE")
public interface MessageService {

    @RequestMapping("/message/save")
    public ResultEntity save(@RequestBody MessageDto messageDto);

}
